-- GENERATED SPELL FOR [Broodmother Slivina] --


function spell0_28467(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(51772,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28467', 597, 1)
end

function spell1_28467(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(51768,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28467', 2000, 1)
end

function Sorts_28467(pUnit, Event)
local choix_sorts_28467 = math.random(0, 1)
if choix_sorts_28467 == 0 then
pUnit:RegisterEvent('spell0_28467', 1, 1)
end
if choix_sorts_28467 == 1 then
pUnit:RegisterEvent('spell1_28467', 1, 1)
end
end

function mob28467_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28467', math.random(1500, 3000), 1)
end

function mob28467_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28467_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28467_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28467, 1, 'mob28467_Action')
RegisterUnitEvent(28467, 2, 'mob28467_Leave')
RegisterUnitEvent(28467, 3, 'mob28467_Kill')
RegisterUnitEvent(28467, 4, 'mob28467_Die')
